﻿<?xml version="1.0" encoding="utf-8" ?>

<Content type="xform" name="WebSettings">
   <model>
     <instance>
       <web>
          <add key="ServerSenderEmail" value="" />
          <add key="ServerSenderEmailName" value="" />
          <add key="eonicwebProductName" value="" />
          <add key="eonicwebCMSName" value="" />
          <add key="eonicwebAdminSystemName" value="" />
          <add key="eonicwebCopyright" value="" />
          <add key="eonicwebSupportTelephone" value="" />
          <add key="eonicwebWebsite" value="" />
          <add key="eonicwebSupportEmail" value="" />
          <add key="eonicwebLogo" value="" />
          <add key="websitecreditText" value="" />
          <add key="websitecreditLogo" value="" />
          <add key="websitecreditURL" value="" />
       </web>
    </instance>
    <submission id="WebSettings" action="" method="post" event="form_check(this)" />
    <bind id="ServerSenderEmail" nodeset="web/add[@key='ServerSenderEmail']/@value" required="false()" type="string" />
    <bind id="ServerSenderEmailName" nodeset="web/add[@key='ServerSenderEmailName']/@value" required="false()" type="string" />
    <bind id="eonicwebProductName" nodeset="web/add[@key='eonicwebProductName']/@value" required="false()" type="string" />
     <bind id="eonicwebCMSName" nodeset="web/add[@key='eonicwebCMSName']/@value" required="false()" type="string" />
     <bind id="eonicwebAdminSystemName" nodeset="web/add[@key='eonicwebAdminSystemName']/@value" required="false()" type="string" />
     <bind id="eonicwebCopyright" nodeset="web/add[@key='eonicwebCopyright']/@value" required="false()" type="string" />
     <bind id="eonicwebSupportTelephone" nodeset="web/add[@key='eonicwebSupportTelephone']/@value" required="false()" type="string" />
     <bind id="eonicwebWebsite" nodeset="web/add[@key='eonicwebWebsite']/@value" required="false()" type="string" />
     <bind id="eonicwebSupportEmail" nodeset="web/add[@key='eonicwebSupportEmail']/@value" required="false()" type="string" />
     <bind id="eonicwebLogo" nodeset="web/add[@key='eonicwebLogo']/@value" required="false()" type="string" />
     <bind id="websitecreditText" nodeset="web/add[@key='websitecreditText']/@value" required="false()" type="string" />
     <bind id="websitecreditLogo" nodeset="web/add[@key='websitecreditLogo']/@value" required="false()" type="string" />
     <bind id="websitecreditURL" nodeset="web/add[@key='websitecreditURL']/@value" required="false()" type="string" />
   
   </model>
   <group ref="WebSettings">
    <label>Reseller Settings</label>
     <alert>This changes the default email address that contact form messages are sent from. Ideally these domains should have an SPF that accepts from the mailserver (mail01.eonic.co.uk) IP address. If you do not understand what this means don't use it ! <br/>
       Default values are emailsender@eonichost.co.uk [eonicweb Email Sender]
     </alert>
	   <group ref="Email" class="inline">
		   <label>Email</label>
		   <input bind="ServerSenderEmail">
			   <label>Server Sender Email</label>
			   <value></value>
		   </input>
		   <input bind="ServerSenderEmailName">
			   <label>Server Sender Email Name</label>
			   <value></value>
		   </input>
       <input bind="eonicwebProductName">
         <label>CMS Product Name</label>
         <value></value>
       </input>
       <input bind="eonicwebCMSName">
         <label>CMS Product Description</label>
         <value></value>
       </input>
       <input bind="eonicwebAdminSystemName">
         <label>CMS Admin Description</label>
         <value></value>
       </input>
       <input bind="eonicwebCopyright">
         <label>Copyright</label>
         <value></value>
       </input>
       <input bind="eonicwebSupportTelephone">
         <label>Support Telephone</label>
         <value></value>
       </input>
       <input bind="eonicwebWebsite">
         <label>Support Website</label>
         <value></value>
       </input>
       <input bind="eonicwebSupportEmail">
         <label>Support Email</label>
         <value></value>
       </input>
       <input bind="eonicwebLogo" class="pickImageFile">
         <label>CMS Logo (186 x 41)px</label>
         <value></value>
       </input>
       <input bind="websitecreditText">
         <label>Website Credit Text</label>
         <value></value>
       </input>
       <input bind="websitecreditLogo" class="pickImageFile">
         <label>Website Credit Logo (150 x 20)px</label>
         <value></value>
       </input>
       <input bind="websitecreditURL">
         <label>Website Credit URL</label>
         <value></value>
       </input>
     </group>
     <submit submission="" ref="submit" class="principle">
      <label>Save Settings</label>
    </submit>
  </group>
</Content>
